package com.njts.cricule.src.com.njts.recycle;

/**
 * @author David GE
 * Date  2025/11/12
 */
public class Multiply {
    // 编写程序:求1~10自然数累乘积
    public static void main(String[] args) {
        // 1 乘积(阶乘)
        int sum =1;
        for (int i =1;i<=10;i++){

            sum = sum*i;
        }
        System.out.println(sum);
    }
}
